package com.lyon.custom.core;

/**
 * @author LeeYan9
 * @since 2021-12-02
 */
public abstract class AbstractChangeShareListener extends AbstractListener {

    private String group;
    private String dataId;
    private String fileExt;

    public void fillProp(String group, String dataId, String fileExt) {
        this.group = group;
        this.dataId = dataId;
        this.fileExt = fileExt;
    }

    @Override
    public void receiveConfigInfo(String content) {
        innerReceive(group,dataId,fileExt,content);
    }

    /**
     * 内部通知
     * @param group
     * @param dataId
     * @param fileExt
     * @param content
     */
    public abstract void innerReceive(String group , String dataId ,String fileExt ,String content);

}
